<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <div id="app">
    msg1:{{msg1}}
    msg2: {{msg2}}
    {{msg1}}
    <p class="text" v-text="msg1"></p>
    <p>{{msg2}}</p>
    <p>{{msg2}}</p>
    <p>{{msg2}}</p>
    <p>{{msg2}}</p>
    <input type="text" v-model="msg2">
  </div>
  <script src="js/Watcher.js"></script>
  <script src="js/Dep.js"></script>
  <script src="js/Compiler.js"></script>
  <script src="js/Observer.js"></script>
  <script src="js/vue.js"></script>
  <script>
    const vm = new Vue({
      el: '#app',
      // el: document.querySelector("#app"),
      data: {
        msg1: '内容1',
        msg2: '内容2',
        obj: {
          name: 'asdas',
          age: 18
        }
      }
    })
  </script>
</body>
</html>